package com.qianxing.convert;

/**
 * @Author:JasonLong
 * @Date:2023/7/7
 * @Time:14:47
 */

import com.qianxing.dto.UserInfoDTO;
import com.qianxing.po.TbUserInfoPO;
import com.qianxing.vo.UserInfoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface UserInfoMapper {

    UserInfoMapper INSTANCE = Mappers.getMapper(UserInfoMapper.class);

    UserInfoDTO POToDTO(TbUserInfoPO tbUserInfoPO);

    TbUserInfoPO DTOToPO(UserInfoDTO userInfoDTO);

    UserInfoVO POtoVO(TbUserInfoPO userInfoPO);

}
